using System.ServiceModel;
using Domain;

namespace Interfaces
{
	[ServiceContract]
	public interface IPersonService
	{
		[OperationContract]
		[NetDataContract]
		string GetFullName(IPerson person);

		[OperationContract]
		[NetDataContract]
		Name ChangeName(IPerson person);

        [OperationContract]
        [NetDataContract]
        IPerson GetPerson();
	}
}